package com.example.b_308.myapplication.model.base;


import com.example.b_308.myapplication.model.base.BaseModel;

/**
 * Created by tongkang on 2017/10/31.
 */

public class BaseAttendanceSetting extends BaseModel<BaseAttendanceSetting> {
    /**
     * 考勤设置ID
     */
    String id;
    /**
     * 考勤签到时间
     */
    String sign_in_time;
    /**
     * 考勤签退时间
     */
    String sign_out_time;
    /**
     * 工作日
     */
    String work_day;
    /**
     * 经度
     */
    String longitude;
    /**
     * 维度
     */
    String latitude;
    /**
     * 地址
     */
    String address;
    /**
     * 公司ID
     */
    String company_id;
    /**
     * 打卡有效半径
     */
    String effective_range;
    /**
     * 创建时间
     */
    String create_time;

    public BaseAttendanceSetting() {
    }

    public BaseAttendanceSetting(String id) {
        this.id = id;
    }

    public void setId(String id) {

        put("id", id);
        this.id = id;
    }

    public void setSign_in_time(String sign_in_time) {

        put("sign_in_time", sign_in_time);
        this.sign_in_time = sign_in_time;
    }

    public void setSign_out_time(String sign_out_time) {

        put("sign_out_time", sign_out_time);
        this.sign_out_time = sign_out_time;
    }

    public void setWork_day(String work_day) {

        put("work_day", work_day);
        this.work_day = work_day;
    }

    public void setLongitude(String longitude) {

        put("longitude", longitude);
        this.longitude = longitude;
    }

    public void setLatitude(String latitude) {

        put("latitude", latitude);
        this.latitude = latitude;
    }

    public void setAddress(String address) {

        put("address", address);
        this.address = address;
    }

    public void setCompany_id(String company_id) {

        put("company_id", company_id);
        this.company_id = company_id;
    }

    public void setEffective_range(String effective_range) {

        put("effective_range", effective_range);
        this.effective_range = effective_range;
    }

    public void setCreate_time(String create_time) {

        put("create_time", create_time);
        this.create_time = create_time;
    }

    public String getId() {
        if (null == id)
            id = getStr("id");
        return id;
    }

    public String getSign_in_time() {
        if (null == sign_in_time)
            sign_in_time = getStr("sign_in_time");
        return sign_in_time;
    }

    public String getSign_out_time() {
        if (null == sign_out_time)
            sign_out_time = getStr("sign_out_time");
        return sign_out_time;
    }

    public String getWork_day() {
        if (null == work_day)
            work_day = getStr("work_day");
        return work_day;
    }

    public String getLongitude() {
        if (null == longitude)
            longitude = getStr("longitude");
        return longitude;
    }

    public String getLatitude() {
        if (null == latitude)
            latitude = getStr("latitude");
        return latitude;
    }

    public String getAddress() {
        if (null == address)
            address = getStr("address");
        return address;
    }

    public String getCompany_id() {
        if (null == company_id)
            company_id = getStr("company_id");
        return company_id;
    }

    public String getEffective_range() {
        if (null == effective_range)
            effective_range = getStr("effective_range");
        return effective_range;
    }

    public String getCreate_time() {
        if (null == create_time)
            create_time = getStr("create_time");
        return create_time;
    }
}
